#define _CRT_SECURE_NO_WARNINGS


#include"Queue.h"
#include<iostream>
using namespace std;

void test_priority_queue1()
{
	vector<int> v{ 1,2,3,4,5,6,7,8,9 };
	bai::priority_queue<int, vector<int>, bai::Greater<int>> q(v.begin(), v.end());

}

void test_priority_queue2()
{
	vector<int> v{ 1,2,3,4,5,6,7,8,9 };
	bai::priority_queue<int> q;
	for (auto e : v)
	{
		q.push(e);
	}
	cout << q.size() << endl;
	cout << q.top() << endl;

	q.pop();
	q.pop();
	q.pop();

	cout << q.size() << endl;
	cout << q.top() << endl;

}

int main()
{
	test_priority_queue2();
	return 0;
}